<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>RT-Thread RTOS: Basic Definitions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RT-Thread RTOS
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">An open source embedded real-time operating system</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group___basic_def.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">Basic Definitions</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gad78104e02f13751dab9952ba4d9788f8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gad78104e02f13751dab9952ba4d9788f8">RT_VERSION</a>&#160;&#160;&#160;1L</td></tr>
<tr class="separator:gad78104e02f13751dab9952ba4d9788f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae2986d88dd8f5b076c9089931463c6d2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gae2986d88dd8f5b076c9089931463c6d2">RT_SUBVERSION</a>&#160;&#160;&#160;2L</td></tr>
<tr class="separator:gae2986d88dd8f5b076c9089931463c6d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ac050659ff67d9c8be5b59ddd1790cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga8ac050659ff67d9c8be5b59ddd1790cc">RT_REVISION</a>&#160;&#160;&#160;0L</td></tr>
<tr class="separator:ga8ac050659ff67d9c8be5b59ddd1790cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5e3d4a1b993df67473bc161096dba218"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga5e3d4a1b993df67473bc161096dba218">RT_TRUE</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:ga5e3d4a1b993df67473bc161096dba218"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaad465603954df66df7791befd55ff325"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gaad465603954df66df7791befd55ff325">RT_FALSE</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:gaad465603954df66df7791befd55ff325"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e803706fb0e206869f5f706c1289949"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga8e803706fb0e206869f5f706c1289949">RT_ALIGN</a>(size, align)&#160;&#160;&#160;(((size) + (align) - 1) &amp; ~((align) - 1))</td></tr>
<tr class="separator:ga8e803706fb0e206869f5f706c1289949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf0d0c14b78871331bac6701d7ee6e42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gadf0d0c14b78871331bac6701d7ee6e42">RT_ALIGN_DOWN</a>(size, align)&#160;&#160;&#160;((size) &amp; ~((align) - 1))</td></tr>
<tr class="separator:gadf0d0c14b78871331bac6701d7ee6e42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab3633bbb2a09b3406b19463ffc634345"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gab3633bbb2a09b3406b19463ffc634345">RT_NULL</a>&#160;&#160;&#160;(0)</td></tr>
<tr class="separator:gab3633bbb2a09b3406b19463ffc634345"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga0718c1881c49fdb1cfd55946ddfe0f64"><td class="memItemLeft" align="right" valign="top">typedef signed char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga0718c1881c49fdb1cfd55946ddfe0f64">rt_int8_t</a></td></tr>
<tr class="separator:ga0718c1881c49fdb1cfd55946ddfe0f64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad48863e8de10f558c764213f434d14cd"><td class="memItemLeft" align="right" valign="top">typedef signed short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gad48863e8de10f558c764213f434d14cd">rt_int16_t</a></td></tr>
<tr class="separator:gad48863e8de10f558c764213f434d14cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae5c6ccee15f067714ca9c44e509c4047"><td class="memItemLeft" align="right" valign="top">typedef signed long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a></td></tr>
<tr class="separator:gae5c6ccee15f067714ca9c44e509c4047"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga585e2ad0fbab0f83817cb61373465df6"><td class="memItemLeft" align="right" valign="top">typedef unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga585e2ad0fbab0f83817cb61373465df6">rt_uint8_t</a></td></tr>
<tr class="separator:ga585e2ad0fbab0f83817cb61373465df6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5acba55f46553417996ac70828b874da"><td class="memItemLeft" align="right" valign="top">typedef unsigned short&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a></td></tr>
<tr class="separator:ga5acba55f46553417996ac70828b874da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga909edcac80e5e3f93f63fcebc95922c7"><td class="memItemLeft" align="right" valign="top">typedef unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a></td></tr>
<tr class="separator:ga909edcac80e5e3f93f63fcebc95922c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3e03a3519ef7e33d13ebd34c482db49c"><td class="memItemLeft" align="right" valign="top">typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga3e03a3519ef7e33d13ebd34c482db49c">rt_bool_t</a></td></tr>
<tr class="separator:ga3e03a3519ef7e33d13ebd34c482db49c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab7ede51a23ea8b78381b5a59506edd7d"><td class="memItemLeft" align="right" valign="top">typedef long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a></td></tr>
<tr class="separator:gab7ede51a23ea8b78381b5a59506edd7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga958cc0f5d3f7bf59850cd8bd13a4aeb0"><td class="memItemLeft" align="right" valign="top">typedef unsigned long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a></td></tr>
<tr class="separator:ga958cc0f5d3f7bf59850cd8bd13a4aeb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga42df42aabf676f2a89f5af2208b79950"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga42df42aabf676f2a89f5af2208b79950">rt_err_t</a></td></tr>
<tr class="separator:ga42df42aabf676f2a89f5af2208b79950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga102dfa15727cd1166d97cf5392dfe3b9"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga102dfa15727cd1166d97cf5392dfe3b9">rt_time_t</a></td></tr>
<tr class="separator:ga102dfa15727cd1166d97cf5392dfe3b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66c400929925784dba020d671154978a"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga66c400929925784dba020d671154978a">rt_tick_t</a></td></tr>
<tr class="separator:ga66c400929925784dba020d671154978a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac0517c5e13c1374877d8462b84e72755"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#gac0517c5e13c1374877d8462b84e72755">rt_flag_t</a></td></tr>
<tr class="separator:gac0517c5e13c1374877d8462b84e72755"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8011d259fdfc54b8a9aa006b4d49ac14"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga8011d259fdfc54b8a9aa006b4d49ac14">rt_size_t</a></td></tr>
<tr class="separator:ga8011d259fdfc54b8a9aa006b4d49ac14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga79ffea5dac0a5c145822b5b1c9b55a09"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga79ffea5dac0a5c145822b5b1c9b55a09">rt_dev_t</a></td></tr>
<tr class="separator:ga79ffea5dac0a5c145822b5b1c9b55a09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fd4981851ce935649b6723a81f2f1bf"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___basic_def.html#ga0fd4981851ce935649b6723a81f2f1bf">rt_off_t</a></td></tr>
<tr class="separator:ga0fd4981851ce935649b6723a81f2f1bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<p>These are the basic definitions which used in RT-Thread RTOS. In general, RT-Thread kernel uses its own definition of the basic data types, such as rt_uint32_t, rt_uint8_t, etc., which does not depend on the compiler or architecture. </p>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gad78104e02f13751dab9952ba4d9788f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_VERSION&#160;&#160;&#160;1L</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>major version number </p>

</div>
</div>
<a class="anchor" id="gae2986d88dd8f5b076c9089931463c6d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_SUBVERSION&#160;&#160;&#160;2L</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>minor version number </p>

</div>
</div>
<a class="anchor" id="ga8ac050659ff67d9c8be5b59ddd1790cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_REVISION&#160;&#160;&#160;0L</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>revise version number </p>

</div>
</div>
<a class="anchor" id="ga5e3d4a1b993df67473bc161096dba218"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_TRUE&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>boolean true </p>

</div>
</div>
<a class="anchor" id="gaad465603954df66df7791befd55ff325"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_FALSE&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>boolean fails </p>

</div>
</div>
<a class="anchor" id="ga8e803706fb0e206869f5f706c1289949"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_ALIGN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">size, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">align&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;(((size) + (align) - 1) &amp; ~((align) - 1))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the most contiguous size aligned at specified width. <a class="el" href="group___basic_def.html#ga8e803706fb0e206869f5f706c1289949">RT_ALIGN(13, 4)</a> would return 16. </p>

</div>
</div>
<a class="anchor" id="gadf0d0c14b78871331bac6701d7ee6e42"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_ALIGN_DOWN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">size, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">align&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;((size) &amp; ~((align) - 1))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the down number of aligned at specified width. <a class="el" href="group___basic_def.html#gadf0d0c14b78871331bac6701d7ee6e42">RT_ALIGN_DOWN(13, 4)</a> would return 12. </p>

</div>
</div>
<a class="anchor" id="gab3633bbb2a09b3406b19463ffc634345"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define RT_NULL&#160;&#160;&#160;(0)</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Similar as the <code>NULL</code> in C library. </p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="ga0718c1881c49fdb1cfd55946ddfe0f64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef signed char <a class="el" href="group___basic_def.html#ga0718c1881c49fdb1cfd55946ddfe0f64">rt_int8_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>8bit integer type </p>

</div>
</div>
<a class="anchor" id="gad48863e8de10f558c764213f434d14cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef signed short <a class="el" href="group___basic_def.html#gad48863e8de10f558c764213f434d14cd">rt_int16_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>16bit integer type </p>

</div>
</div>
<a class="anchor" id="gae5c6ccee15f067714ca9c44e509c4047"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef signed long <a class="el" href="group___basic_def.html#gae5c6ccee15f067714ca9c44e509c4047">rt_int32_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>32bit integer type </p>

</div>
</div>
<a class="anchor" id="ga585e2ad0fbab0f83817cb61373465df6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned char <a class="el" href="group___basic_def.html#ga585e2ad0fbab0f83817cb61373465df6">rt_uint8_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>8bit unsigned integer type </p>

</div>
</div>
<a class="anchor" id="ga5acba55f46553417996ac70828b874da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned short <a class="el" href="group___basic_def.html#ga5acba55f46553417996ac70828b874da">rt_uint16_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>16bit unsigned integer type </p>

</div>
</div>
<a class="anchor" id="ga909edcac80e5e3f93f63fcebc95922c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned long <a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>32bit unsigned integer type </p>

</div>
</div>
<a class="anchor" id="ga3e03a3519ef7e33d13ebd34c482db49c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef int <a class="el" href="group___basic_def.html#ga3e03a3519ef7e33d13ebd34c482db49c">rt_bool_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>boolean type </p>

</div>
</div>
<a class="anchor" id="gab7ede51a23ea8b78381b5a59506edd7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef long <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Nbit CPU related date type </p>

</div>
</div>
<a class="anchor" id="ga958cc0f5d3f7bf59850cd8bd13a4aeb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef unsigned long <a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Nbit unsigned CPU related data type </p>

</div>
</div>
<a class="anchor" id="ga42df42aabf676f2a89f5af2208b79950"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a> <a class="el" href="group___basic_def.html#ga42df42aabf676f2a89f5af2208b79950">rt_err_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for error number </p>

</div>
</div>
<a class="anchor" id="ga102dfa15727cd1166d97cf5392dfe3b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a> <a class="el" href="group___basic_def.html#ga102dfa15727cd1166d97cf5392dfe3b9">rt_time_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for time stamp </p>

</div>
</div>
<a class="anchor" id="ga66c400929925784dba020d671154978a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#ga909edcac80e5e3f93f63fcebc95922c7">rt_uint32_t</a> <a class="el" href="group___basic_def.html#ga66c400929925784dba020d671154978a">rt_tick_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for tick count </p>

</div>
</div>
<a class="anchor" id="gac0517c5e13c1374877d8462b84e72755"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a> <a class="el" href="group___basic_def.html#gac0517c5e13c1374877d8462b84e72755">rt_flag_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for flags </p>

</div>
</div>
<a class="anchor" id="ga8011d259fdfc54b8a9aa006b4d49ac14"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> <a class="el" href="group___basic_def.html#ga8011d259fdfc54b8a9aa006b4d49ac14">rt_size_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for size number </p>

</div>
</div>
<a class="anchor" id="ga79ffea5dac0a5c145822b5b1c9b55a09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#ga958cc0f5d3f7bf59850cd8bd13a4aeb0">rt_ubase_t</a> <a class="el" href="group___basic_def.html#ga79ffea5dac0a5c145822b5b1c9b55a09">rt_dev_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for device </p>

</div>
</div>
<a class="anchor" id="ga0fd4981851ce935649b6723a81f2f1bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="group___basic_def.html#gab7ede51a23ea8b78381b5a59506edd7d">rt_base_t</a> <a class="el" href="group___basic_def.html#ga0fd4981851ce935649b6723a81f2f1bf">rt_off_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Type for offset </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Mon Jan 6 2014 23:05:02 for RT-Thread RTOS by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
